<?php

/* @var $factory \Illuminate\Database\Eloquent\Factory */

use App\User;
use Faker\Generator as Faker;

$factory->define(User::class, function (Faker $faker) {
    return [
        'username' =>$faker -> userName,
        'password' =>$faker -> md5,
        'status' => $faker->numberBetween(0,1),
        'photo'=> $faker -> imageUrl,
        'real_name' => $faker-> lastname,
        'gender' => $faker->numberBetween(0,1),
        'tel' => $faker->PhoneNumber,
        'birthdate' => $faker->date,
        'created_at' => now()
    ];
});
